1.7 The first part of the global sum example-when each core adds its assigned computed values-is usually considered to be an example of data-parallelism, while the second part of the first global sum-when the cores send their partial sums to the master core, which adds them-could be considered to be an example of task-parallelism. What about the second part of the second global sum-when the cores use a tree structure to add their partial sums? Is this an example of data- or task-parallelism? Why?
 
 
View Solution
 
 
 
<< Back Next >>